package lab02.test08;

/**
 * Created by 婷婷 on 2017/10/18.
 */
public class Test08 {
    public static void main(String[] args) {

        //给UsbDiskWriter 创建一个新的对象
        UsbDiskWriter usbDiskWriter = new UsbDiskWriter();
        //调用方法
        usbDiskWriter.start();
        usbDiskWriter.stop();

        //Camera 创建一个新的对象
        Camera camera = new Camera();
        camera.start();
        camera.stop();

        //Mobile 创建一个新的对象
        Mobile mobile = new Mobile();
        mobile.start();
        mobile.stop();
    }
}
